/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.scene.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;

@ApiModel(value = "检验记录与设备关系", description = "检验记录与设备关系实体类")
public class DeviceCalibrationRelation {

    @ApiModelProperty(value = "设备检验记录Id", name = "deviceCalibrationId", required = true)
    private String deviceCalibrationId;

    @ApiModelProperty(value = "设备Id", name = "deviceId", required = true)
    private String deviceId;

    @ApiModelProperty(value = "描述", name = "description", required = true)
    private String description;

    @ApiModelProperty(value = "检验结果是否正常", name = "normal", required = false)
    private Boolean normal;

    @ApiModelProperty(value = "检验结果描述", name = "result", required = true)
    private String result;

    @ApiModelProperty(value = "检验日期", name = "calibrationDate", required = true)
    private Timestamp calibrationDate;

    @ApiModelProperty(value = "有效日期", name = "validationDate", required = true)
    private Timestamp validationDate;

    public String getDeviceCalibrationId() {
        return deviceCalibrationId;
    }

    public void setDeviceCalibrationId(String deviceCalibrationId) {
        this.deviceCalibrationId = deviceCalibrationId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Boolean getNormal() {
        return normal;
    }

    public void setNormal(Boolean normal) {
        this.normal = normal;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Timestamp getCalibrationDate() {
        return calibrationDate;
    }

    public void setCalibrationDate(Timestamp calibrationDate) {
        this.calibrationDate = calibrationDate;
    }

    public Timestamp getValidationDate() {
        return validationDate;
    }

    public void setValidationDate(Timestamp validationDate) {
        this.validationDate = validationDate;
    }

    @Override
    public String toString() {
        return "DeviceCalibrationRelation{" +
                "deviceCalibrationId='" + deviceCalibrationId + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", description='" + description + '\'' +
                ", normal=" + normal +
                ", result='" + result + '\'' +
                ", calibrationDate=" + calibrationDate +
                ", validationDate=" + validationDate +
                '}';
    }


}
